#ifndef QL_SASLSTREAMFEATURE_H
#define QL_SASLSTREAMFEATURE_H

#include "xmppcore/streamfeatures.h"

#include <QtCore/QXmlStreamReader>
#include <QtCore/QList>
#include <QtCore/QString>

namespace yoohoo_xmppcore {

class YOOHOO_XMPPCORE_EXPORT SaslStreamFeature : public StreamFeature {
public:
	SaslStreamFeature();
	bool fromXml(QXmlStreamReader& reader);
	QList<QString> mechanisms();
private:
	QList<QString> _mechanisms;

	bool readMechanism(QXmlStreamReader& reader);
};

}

#endif
